﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_VehicleBusiness
    {
        Task<PageResult<PB_VehicleDTO>> GetDataListAsync(PageInput<PB_VehicleConditonDTO> input);
        Task<PB_Vehicle> GetTheDataAsync(string id);
        /// <summary>
        /// 根据货运公司ID查找车牌
        /// </summary>
        /// <param name="SupplierId">货运公司ID</param>
        /// <returns></returns>
        Task<PageResult<PB_Vehicle>> GetTheDatabySupplier(string SupplierId);
        Task AddDataAsync(PB_Vehicle data);
        Task UpdateDataAsync(PB_Vehicle data);
        Task DeleteDataAsync(List<string> ids);
    }
}